#include <stdio.h>
int main(){
	int a=3;
	int b=4;
	int c=5;
	int x,y;
	int result1=(a+b>c)&&(b==c);
	int result2=a||(b+c)&&(b-c);
	int result3=!(a>b) && !c||1;
	int result4=!(x=a) &&(y=b) &&0;
	int result5=!(a+b)+c-1 && (b+c/2);
	printf("%d %d %d %d %d",result1,result2,result3,result4,result5);
	
	return 0;
}